.r-card {
    border: rgba(0, 0, 0, 0) 1px solid;
    border-radius: 2px;
    text-align: initial;

    .r-card-cover {
        margin-top: -1px;
        margin-right: -1px;
        margin-left: -1px;

        img {
            border-radius: 2px 2px 0 0;
            display: block;
            width: 100%;
        }
    }

    .r-card-head {
        min-height: 48px;
        margin-bottom: -1px;
        padding: 0 24px;
        color: #000;
        font-weight: 500;
        font-size: 16px;
        background: 0 0;
        border-bottom: #e8e8e8 1px solid;
        border-radius: 2px 2px 0 0;

        .r-card-head-wrapper {
            display: flex;
            align-items: center;

            .r-card-head-title {
                display: inline-block;
                flex: 1;
                padding: 16px 0;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }

            .r-card-head-extra {
                float: right;
                margin-left: auto;
                padding: 16px 0;
                color: #000;
                font-weight: 400;
                font-size: 14px;
            }
        }

        &::before, &::after {
            display: table;
            content: "";
            box-sizing: border-box;
        }

        &::after {
            clear: both;
        }   
    }

    &&-body {
        padding: 24px;

        &::before, &::after {
            display: table;
            content: "";
            box-sizing: border-box;
        }

        &::after {
            clear: both;
        } 
    }

    &-bordered {
        border: 1px solid #e8e8e8;
    }

    &-hoverable {
        cursor: pointer;
        -webkit-transition-duration: 0.2s; /* Safari */
        transition-duration: 0.2s;
    }

    &-hoverable:hover {
        box-shadow: 0 5px 10px #ccc;
    }
}